Improvements/fixes to 'discover()' (#866)
Improvements/fixes to 'discover()' (#866)

- Explicitly close sockets opened for multicast discovery
- Fix logic for 'allow_network_scan' fallback
- Additional DEBUG logging
SoCo/SoCo,SoCo/SoCo