Prevent \r\n from being sent prematurely.

This can protect the packet from being misread by the server.