Fixed bug to parse charset from Content-Type response header