Update HttpFactory.java