log incoming WebSocket messages to console