Add support for Apache's 'mod_mbox' plugin interface

Links from Apache's 'mod_mbox' plugin contain trailing
"/thread" substrings. Remove them to get the links where
mbox files are stored.