Add tcp keep alive and timeout.
Prepare for 1.0.0 tag