able to receive server response, but proxy request is not formatted correctly