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.