fix httpprefix http detect