added option to process_url_args() allowing for discarding of null options