Added method for UPnP discovery.