Add Gist API

This PR is to support https://github.com/github/hub/pull/601.

/cc @mislav
This fails for me, as the actual `Host` header is blank while I was expecting it to be the original hostname. Help please.