Fixes issues with proxy parameters

Refs #31
Support of --proxy-auth

Closes #31