Set target port in proxyRequest only when needed.

I was having trouble with my proxied requests until I removed the port
from the target in proxyRequest. This commit adds the port to the target
only when something other than the default was specified for the given
protocol (80 for http, 443 for https).