helper methods, websocket callbacks, plain web client, trying google apis (WIP)