Add getIncomeMessages API on client side.

For #76.