Remove trailing whitespace.
Support HTTP basic auth.
Support request level auth.
Merge pull request #6 from elliotttf/basic-auth

Support HTTP Basic auth