share tasks and handlers between openvpn client and server