important improvement: make http request and response inhert from http message, and, embed the socket buffer into message for better message operation