CTraderConnection establishes TCP+TLS via tokio-native-tls, wraps in framed codec, splits into shared sender + exclusive receiver, and spawns a heartbeat task at configurable interval (default 10s). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>