Fixed bug to allow https requests to non-existent hosts