Fix up read_parameters to cope with LWS.

This fixes lines like "Content-Type: text/plain; charset=UTF-8".