added support for non-strict host checking