first pass at removing the tls socket from ncm, to use udp server instead