http_session_thread quits looping when server_socket is closed. Added missing NULL terminator to methods array. Fixed dupliate definition of crlf in monolithic builds.