control n connection to proxy