pull out hasher to share between sharding router and redirector
add http redirector