Add delegate bridge code. This is untested, and mostly unlikely to work. It can't be tested atm due to trouble inheriting from EventEmitter.