Remove websocket dependancy for connection interface