Allow specifying requestedHeartbeat in connection configuration

Let me know if the feature needs more work to be approved.