fixing http post behavior in curb proxy

values need to be unescaped and the http method should be detected