refine http framework, use http message