TODO start testing. proxy works, test handler2 delay and adddefinition