added wrapper for accept write read, and a unfinished echo_server demo