Encodes the Content-Disposition header.
a ContentDisposition object
a FormatOptions or null
a new string containing the encoded header value.