Fix errors in HTTP::WebSocketHandler