title: Client-Server with TCP with compression
body: <p>I have a program that work like a chat.<br>
  Client and server are connected with 2 TCP sockets, one for incoming messages another for outgoing messages.<br>
  Sometimes the messages can be very big (ex. 2 MByte of text) so I want to compress them before sending over the channel.<br>
  The problem is that I don't know how to find the start and end of compressed message.<br>
  Now I use two special characters to find start and end of message but with compression there can be errors.  </p>
  
  <p>There is maybe a type of compression that don't use some specific bytes?<br>
   I use C# to open and manage sockets so I need a compression that work under windows.</p>