Add cowlib in the .app deps for release inclusion
Fix chunked transfer-encoding for HTTP/1.1
Use cow_http_te for creating chunks

This way the issue fixed by the previous commit won't happen again.
Start/stop cowlib for tests, closes #4
Add a rebar.config
Make sure the host value is of the correct type in open
Merge branch 'cowlib_test_fix' of git://github.com/seryl/gun
cancel keepalive on retry per extend/gun#16
Merge branch 'fix-keepalive-schedule' of git://github.com/unix1/gun
handle messages from previous socket for extend/gun#19
continue after unexpected message for extend/gun#19
Merge branch 'fix-unexpected-messages' of git://github.com/unix1/gun
close when handling response with no streams for extend/gun#15
Merge branch 'fix-keepalive-response' of git://github.com/unix1/gun
Update transfer encoding code to current cowlib interface
Don't close the connection on empty data in cow_http:handle/2

This happens because handle/2 is actually a loop.
Fix bug with HTTP and keepalive

A linebreak was sometimes introduced in the middle of the request
body.