Fix #119 by making client class accept int32 instead of uint16.