is_ok_host function

Check if URL(s) are HTTPS and/or in allowed hosts lists