Add ability to respond to websocket request