added proper authorization for WebSocket requests
send recorded way points serialized to JSON by RestKit