updated bytecode proxy to support class proxies via subclasses in
addition to interface proxies