Fixed a bug in decoding client connection message.