Changed example agent to fsock