added stripTargetUrl to HitManager
added test to HitManagerTest