rewrote DSHTTP