Minor changes.

Fixed a bug reporting incorrect byte count by libwebsocket_write() and reported LWS_CALLBACK_CLOSED_HTTP from another code branch.