check for rfc5587 before building gs2