socket http server version 1, multi-thread added