ClientAgent: Splits interest handling into 3 functions