'protocol' and 'auth' options are ignored

This fixes an issue, where the 'protocol' and 'auth' options were ignored.
Merge pull request #23 from sascha/master

'protocol' and 'auth' options are ignored