Add KeepaliveTime and KeepaliveInterval options to specify time or
interval for keepalive.
Revise descriptor stuff.