fix crash in is_simple_http_request

Under some conditions is_simple_http_request access lf->url unchecked. If lf->url is null, it will segfault.