A NAT traversal mechanism for cloud video surveillance applications using WebSocket