UTF8 fixes

Client commands came in as ASCII_8BIT and comparisons with UTF-8 strings would not match. Always encode input as UTF-8.