Modified to handle decoding of rfc2231 encoded parameters