Refs. #17. Print errors codes and message on other exceptions.

This includes TimeoutErrors, ProtocolErrors and other general Exceptions.
Also print a message when the user enters a wrong command.