Remove unused HTML_HEX_REFS constant
Remove unnecessary redirect handling code

Twisted took care of this: <http://twistedmatrix.com/trac/ticket/5435>.
Add missing "r" to raw regex string