Set HTTPS url to be checked first
Changes to close connection instead of Keep-alive - was causing trouble
with WiNG portals.
fixed WiNG portal handler to use server from hs_server variable for post
url