Adds support for connection urls with auth components.
Cleaned up url parsing
Merge pull request #1 from wkiser/http_auth

Http auth