java proxy sends html files