adds lib::thread
cleans up session::state values
removes raw debugging output
adds print server example
adds telemetry client example