Get socket server from URL