Add lex_cast convenience util.
Improve ISUPPORT interface for future network portability.
Minor cleanup/simplification.