Match parameter types to kr's Go client and C server.
Merge branch 'typefix'.