use proxies for mbeans, so application is set on thread automatically
safeguard against unsupported encodings