Make heartbeat, timeout and reconnect configurable

Per server, in environ, as arguments