Update UPnP.cs

This is to discuss some changes that I think could worth.
We evaluated .NET 4.5 and it seems that is not yet possible for OpenRA without loosing too many players on legacy systems such as Windows XP and Debian/Ubuntu LTS including our build servers. Is there a chance you create a .NET 4.0 compatible version of Open.NAT?