added log() function
refresh client instance only if connected
cleanup
test client transports
partial cleanup fix
status api
no throwing
send api in status