fixed the '\0' bug in GstoreConnector.recv()