Moved Client#initialize to C code