Fix the try catch.
Add some string utilities.
Add protocols test.