[XrdCl] Fix a memory leak when determining the country code
[XrdCl] Send applicaton name during login
[CMake] Add missing pthread dependency