Added https return value check for MS IIS server
Added https return value check for MS IIS server