Pholey rewrite

http.client.MOVED_PERMANENTLY