Merge pull request #2 from zhchang/master

add simple packet server implementation, removed typo and support handle_close