TcpConnection: moved the Embryo class inside the main class