Don't report an error when closing heads during local push (
issue387)
use forward "/" for internal path and static http, fix
issue437
Use python instead of shell printf with \x sequences for test-encoding.
Needed e.g. to be compatible with Solaris.