Add support for some getsockopt/setsockopt options.

Support and add API for getting/setting SO_RCVTIMEO, SO_KEEPALIVE.
Merge pull request #11 from rgrunber/master

Add support for some getsockopt/setsockopt options.