handleResponse
handleResponse(ws, msg)
ws
websocket connectin
msg
the JSON-encoded character string returned by the browser