Imitate LWP::Protocol::http's removal of newlines from request headers.