setting Connection header
test for encoding
DRY
reverting changes having to do with connection persistence
Merge branch 'develop' into feature/issue-205-connection-keep-alive
setting Content-Type header (thanks @Hodgestar)
Merge branch 'feature/issue-205-connection-keep-alive' into develop