separates ClientMessage from ServerMessage