Guard against null query_string in $_SERVER