Keepalive and TransactionDelay updated.

Keepalive support improved.
TransactionDelay added.