Added proper support for ignoring hostname verification