Fixed wrong order of packet reading in client deserialization method.