adds support for basic (client+server) and bearer tokens (only client si...

Adds support for basic authentication (client and server side) and bearer tokens (client side only). It also adds an util class for getting OAuth 2.0 bearer tokens from GitHub given a password and client credentials (client_id and client_secret)