fix some bug, add retry ablity to htto module