add dynamic proxy which is supported by JDK