client - server message encapsulation