server: fixed null-byte rapidjson assumption parsing - boost::asio doesn't guarantee that data is null-byte terminated. Added more debug.