miniupnpc-libevent/upnpc-libevent.c: various