Hongyi: add seq number checking, create a wrapper for serializing and deserializing UDP packet, fix bugs
Hongyi: a quick fix