Add parameter serialization method.

From list of pairs to binary, for "Authorization" header.