proxy sends http request and receives data