pre-connect hook

Runs before taking the deploy lock. For anything that need to run before connecting to remote hosts, e.g. DNS warming, checking if you are on the VPN.