Fix typo in message. Thanks to Perry Kundert.
Add check for protocol identifer in TCP mode
Add const on timeval argument on Windows internal API
Fix response timeout modification on connect (closes #XXX)

Thanks to Perry Kundert for bug report and initial patches.