added: client type
added: protocol tests
fixed: perf tests
test token expiration