first pass

I think it all works, except the proxy parts which we don't yet need
This was working fine on my Mac but once I tried running 'rake test' from Linux I started getting 'WebMock::NetConnectNotAllowedError:'. Removing the Accept-Encoding seem to be a way to resolve this based on other peoples posts.