Run command on incoming connection attempt