Added support of an optional setup method for action modules like rsync that need to alter the connection and other inject data before it's established.
Merge pull request #3692 from tima/action-init

Added support of an optional init method for action modules like rsync that need to alter the connection and other inject data before it's established.