Fixed setting TCP keepalive parameters on Windows