valenok/mongoose — pull request #175 by jwang11 (2013-05-22 12:41:09+00:00)
Title:  Make websocket_ready callback capable to update Websocket response HEADER section

In send_websocket_handshake, it prints all HEADER in fix manner(end with "\r\n\r\n"), but leave no chance for user callback to hanlde HEADER. Actually
in some instance, user need update response HEADER such as "Sec-WebSocket-Protocol" after negotiation. Current implementation has websocket_ready callback,
which should be the place to allow user update both HEADER and Content. Thus, I replace "\r\n\r\n" with "\r\n" in send_websocket_handshake, and let
websocket_ready to handle remaining stuffs.