Reset the status code on ws_s_start state
Added ntohll/htonll compat functions
Endian compat for ntohll/htonll