STREAM-329: Updated TCPConnection::close() to be slightly safer
PION-1303: added cookie headers when sending a request or response

Updated to actually append HTTP headers to a http::message rather than
appending to write buffers

Update Set-Cookie headers so that they are consistent with what you get
from using response::set_cookie(), which has been well tested across a
wide variety of browsers
Merge remote-tracking branch 'upstream/develop' into develop
STREAM-329: Updated TCPConnection::close() to be slightly safer

Shutting down SSL == deadlock if the remote end does not respond
Merge remote-tracking branch 'upstream/develop' into develop