maybe_merge staples together subsequent frames with the same content type (saves 5 bytes each!)
maybe_split splits messages into fragments of 2 ^ 14 size, as required by RFC!
Merge pull request #96 from mirleft/proper-sending-length

maybe_merge staples together subsequent frames with the same content typ...