set_tcp_keepalive: simplify, enable win32

The code got messy, clean it up.

Also, seems like Python 2.7+ support SIO_KEEPALIVE_VALS,
enable it's usage.