fixes issue #8

This switches to the hub context over the http.current context.
Merge pull request #13 from MisterJames/issue8

fixes issue #8