add convenience methods to set TCP keep alive options
proper use of generics
Merge pull request #127 from fernandezpablo85/master

Add convenience methods to set TCP keep alive options