Ammended websocket object