Added client-side basic auth

Same signature as node's version: `.auth(user, pass)`

One caveat is that base64 encoding (`btoa`) is not well supported in IE. It'd be easy to support with something like: https://github.com/ForbesLindesay/base64-encode, but I'm not sure what you think of the additional dependency.