add server-time support
Initial message logging functionality