Add support for bi-directional Websocket APIs