Add support for connection with credentials, use latest maven versions and add a bit of documentation

For our purposes I created a release tag with version 1.1.
That is why the development version is now 1.2-SNAPSHOT.