Added HttpParser to parse http requests and responses.
Made a couple of changes for testibility.
- Add IStreamFactory to abstract sockets away for easy unit testing.
Write directly to the steam when building the raw response.
Remove unused using.
Clean up some of the logic.
- Always dispose stream on connection close (wrapped in using)
- Flush buffered request data async.
Added a chunked test.
Rename DefaultStreamFactory to NetworkStreamFactory.
Make the OwinHttpClient just a wrapper for invoking middleware.
- Made the default request handling default middleware.
Move classes into different folders.
Added some middleware to show in samples.
- RedirectHandler - handles redirects
- GzipHandler - handles gzip
Moved response handling to middleware.
Configure some middleware by default to make the client semi useful.
Added ability to post form url content as anonymous object.
Make the HttpRequestHandler just default middleware.
Update README.md
Break up components into different pieces of middleware.
Small ocd reshuffle
Use the owin naming convention for middleware.
Bail out for null streams.
Added support for SSL in the NetworkStreamFactory.
Fixes #3