Allow users to override connection keep alive logic, port #753 on master