Remore the unused parse_query_str method

Use URLSearchParams instead from now on.