add support for url prefix removing and adding.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>