add stderr and stdout fakes to client.js, update logger to pass log level to transports, update console to send error (or worse) output to stderr