Prepare subscription handling.
Small cleanups after Net::UPnP encoding fixing.