Support proxies and validate IP address.
@janisto can you please send a pull request including a CHANGELOG line?
@cebe see: #2671
Oh, sorry. haven't see it.
If that is ok, I can add CHANGELOG line to the pull request.
yeah would be great. will be able to merge it directly from github then :)
reverted pull request #2671 for issue #2670