first edtion
prepare for the thread implementation
finish the pthead re-write, but need to  debug.
version 1
Merge https://github.com/samueldeng/simple_socket_server