Fixed #12747 -- Made reason phrases customizable.