Added a class to support time formatting. Also added a method to get the
formatted time from the netstream.