Dynamic WebSocket binding, peer management and network service discovery