Fixed erroneous byte count reported by libwebsocket_write()
Added additional LWS_CALLBACK_CLOSED_HTTP callback to just_kill_connection branch of close_and_free_session