socks-proxy-agent: coerce the secureEndpoint into a Boolean

Since it could be `undefined` or any other value.
Just a little bit cleaner...
socks-proxy-agent: mix in the proxy options

But remove the host and port related properties first, so
that they don't get mixed in to the destination endpoint opts.