add protocol and server package structure
add handle_close
Merge pull request #2 from zhchang/master

add simple packet server implementation, removed typo and support handle_close