a simple dynamic proxy handler using Java InvocationHandler