std::regex is slow, so use fixed-field parsing instead.
This is an initial version that I've been using for a while with no major issues, though it might still need some improvements. CPU usage is significantly decreased compared to before when there is a lot of network activity.