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.
Append extra ssl options.
Verify ssl opts.