Refactor _attach_to_container so it just returns the SocketClient
Start container *after* attaching to it