Abstracts the a Websocket Connection through a relay server