Fixed bug with response type detection

Response type detection now handles responses with multivalued
Content-Type values, which should make syntax highlighting of responses
work in more situations.
Fixed bug in which POST form data was ignored
Strip spaces from header names
Print raw request to stdout
Use 'application/x-www-form-urlencoded' media type if POST form data is present