Centralise mime-type param into tidy_params
LWP doesn't use its default_headers if new ones are provided