If a given request is a WebSocket request a response accepting the request is returned using the given handler to handle the WebSocket message stream.
If a given request is a WebSocket request a response accepting the request is returned using the given handler to handle the WebSocket message stream. If the request wasn't a WebSocket request a response with status code 400 is returned.