Slight changes to htts_ws_endpoint