fix not clear request, response after write
bug fix & add get_params
bug fix & add get_params