miniupnpd: autodetect LAN interface netmask instead of defaulting to /24

Fix #23