Handling exceptions when udp socket listener starts
Fixing application registration when reading from xml