Fixed uPnP issues

I don't suppose the rest of the code in this function  (below this line) will ever work. UPNP_AddPortMapping always fails if it gets NULL for inPort or extPort. Also, there is no mention anywhere that it can auto select external port.