Reimaging a physical Web Gateway (SWG) appliance