Add test and fix bug for supporting basic http auth

And I almost just put a comment about how I got it from the real
implementation and don't worry about testing, it'll be fine, y'all!
Include the url on the result
Can add context to user agent
Uhh, actually write some docs so people know what they can give to call
Bump version to 0.1.2