fix windows bugs
compatibility fixes for windows
attempt to fix #24
Merge branch 'fix_windows_bugs' into fix_invalid_tcp_close
Fix client certificate request feature.
Merge branch 'fix_invalid_tcp_close'