Fixed end-of-buffer bug in client