bugfix to urlencode

bug was present since Aug 2013 :(
include ip in req in srv.arc

bug present since Apr 5
handle empty requests

unclear where they come from..
anaphoric do1
tests should run with a single command

Still two commands rather than one because of conflict between
https://bitbucket.org/zck/unit-test.arc and old-style tests.
The two need separate *sessions*.