[TIMOB-12033] Removed dependency on iconv-lite module. Added code to remove duplicate certs. Added encoding library for decoding octet utf-8 strings. Some code cleanup.