Upgraded wagon-apis dependency to version 1.0-beta-6 and made corresponding changes to the implementation of the Wagon which now requires additional connect() methods with different signatures.