fixed two bugs related to http proxy requests and ports
fixed two bugs related to http proxy requests and ports

TeoTwawki/libtorrent,hamedramzi/libtorrent,snowyu/libtorrent,snowyu/libtorrent,TeoTwawki/libtorrent,snowyu/libtorrent,hamedramzi/libtorrent,hamedramzi/libtorrent,snowyu/libtorrent,hamedramzi/libtorrent,TeoTwawki/libtorrent,snowyu/libtorrent,snowyu/libtorrent,hamedramzi/libtorrent,TeoTwawki/libtorrent,hamedramzi/libtorrent,TeoTwawki/libtorrent,TeoTwawki/libtorrent