handling time of messages in the server correctly now
use named tuples for handler callbacks and arguments