add proxy for clients in local env
change the external port for clients
unbind device conn event when client disconnect
release socket when timeout