miniupnpc: define MAXHOSTNAMELEN if not already done
miniwget.c: fixed potential buffer overrun
miniupnpc.c: UPNP_GetValidIGD() now checks for ExternalIpAddress
testminiwget.sh: fix comment (it now works with dash)
upnpcommands.c: fixes potential null dereference. Fix #046