Add test for content type header
Compress request body with gzip

Also added requisite Content-Encoding=gzip header
Separate version into own file so gemspec doesn't load whole library
Add user-agent