stashing work on better redirect and cache handling
fix unit tests
update sendcache
redirect handling
fix for closing channel, look for uri header as a hack around redirects