Allow objects as header values

Per PSR-7 discussion, allowing objects that can be cast to strings is useful for generating complex header values.