Fix #1100 - Use html5lib to decode the HTML response
Merge pull request #1874 from dstufft/properly-handle-html-encoding

Fix #1100 - Use html5lib to decode the HTML response