client-lib: removing a static length MAX_BUFF_LEN (exact length is known)