Parsing of Content-Type containing 'charset' parameter.

There's a utility class `wslite.http.ContentTypeHeader` that can parse out the media type.  The following should work as the body of this method.

`return new ContentTypeHeader(httpResponse.contentType).mediaType`

If you have time to push the change then I'll merge in.