transmission synchronisation

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>
fixed parsing error on too big messages

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>