fix udp listener and prototype of server app
Merge pull request #71 from fengjingchao/dev

fix udp listener and prototype of server app