add get message function
add tests for timestamp and client
use underscore; improve send message