SERVER-14268: Improve server message parsing