fixed bug with non-blocking https URLs