Changed server response parsing to byte by byte