Remove compiling option '-g'

Signed-off-by: Leo Ma <leoma@credosemi.com>
Bug fix: Memory leak in libevent transport.

Signed-off-by: Leo Ma <leoma@credosemi.com>
Reduce malloc/free operations in datagram parsing.

Signed-off-by: Leo Ma <leoma@credosemi.com>
Merge pull request #7 from leo-ma/master

Fix Memory leak in libevent transport; Reduce malloc/free operations in datagram parsing.