Expose Connection.heartbeat_thread

This is done to allow manipulating the thread after creation (such as the daemon
property).