fix pnp https traffic