Simulate wget for testing web applications