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.