wip(transport): add serialization to few transport messages