added a CONNECT flag to TCP init message to distinguish between connection modes