eg/twisted: Modified to follow the newer hy syntax

Updated example to follow newer function syntax, also replaced `caddr'
by `second'.