Keep-alive probe interval and probe limit for keep-alives on sockets

It would be nice to have the probing interval and the failure count available on sockets for keep-alive's.

Caveat: These will not work on Windows but work on Linux 2.4+.