mcproxy: fix exceptions handling
The main() function has a try ... catch block to catch c-string exceptions (trow "message"), but mcproxy generate a few other types of exceptions (std::strins) that will not be caught.
All explicitly thrown exceptions are now caught.