xchat should be ported to use NSS library for cryptography.
See the tracking bug for details and links on how it could be done.
Where's the tracking bug? Can you please set this bug as a dependency of the
tracking bug (and likewise for the other bugs about the same issue)?
This is no longer on-going effort (see tracker bug).