Fixed that it does not work properly whem proxy setting is not a PAC
file.