gpg-protocol: size_t -> ssize_t