Use go's time system and use a structure for sockets.