Updated HttpTransportContext and HttpMethodContext to be easily overrideable.
Implemented TwistedHttpMethodContext and TwistedHttpTransportContext to enable properly setting Content-Type HTTP header as necessary.
Merge pull request #308 from Bernie/http-headers-upstream

Fix for issue #305