Make port configurable for heartbeat-client.