Initial implementation of Websocket provider.