Add callback argument to Agent#connect() and Agent#send()