slug generation, servers with no mb_ functions

fix issue #464
fix issue #510