Add convenience methods to set TCP keep alive options

These methods are specially useful in the case of a hard disconnect. The javadoc was adapted from jzmq