Go 1.2 compatibility, keepalives control introduced in Go 1.3