add support for client-side custom post connect/disconnect script

Add the ability to define a post connect and post disconnect script to be run on the local machine (to add routes, dns, whatever)