switch to own websocket implementation in order to support older API Versions