Improved reporting of input validation errors

This also catches NumberFormatExceptions and missing schemes after a "/"
Help for port bindings