Fixes UPnP error handling to be more correct and conventional, refs #2305 This was SVN commit r14352.
This was SVN commit r14350.