Lazy load socket instance on first connection