Fast URL normalization tool, suitable for use in Hadoop (i.e. in a Pig UDF)