connect and disconnect messages in tcp mods