better logging, patched websocket lib used