Improved DeviceService connection detection
Fixed bug where device ready event was being fired twice
Fixed crashing bug in SSDPDiscoveryProvider on long periods of inactivity