Added auth_host, auth_port, auth_scheme

This is required for middleware to work properly
Cleaned up per jay's suggestions
Merge pull request #24 from retr0h/working

Added auth_host, auth_port, auth_scheme