JBIDE-15317 - LiveReload script injection corrupted html encoding

Fixed the "content-length" response header value
Also, the returned content is encoded with the charset provided in the request's
"accept" header. If no charset is given, the default one is used