patch https to http