Update UPnP.cs

This is to discuss some changes that I think could worth.
Yes, I am currently working on that. Once it is done, I will let you know.