Multiple callbacks support.
seqid now used to retrieve callback to use.
Support of multimple message in read buffer.
Support of partially received messages.
Data send when flush is called.