fork of zhangyan's httpsqs