Added https over http proxy support

Currently, the planet2 will access server by https, but net/url cannot support https proxy.
Adding this patch will help to use planet2 by http proxy.