reduced memory footprint ntp and socket