Fixed processing and passing of exceptions

Now exceptions from server methods are passed with stack trace to the client.

Please review.
`string?.charAt` is not good enough because I want to know that there is also a non-empty string (so that length is >= 1).