Added HTime for time conversions. Fixed warning in udp socket source code.