Fixed rewriting of reverse mDNS responses - and added test case for it too.