Use binascii module instead of str.{en,de}code functions
Cleaner line splitting in HTTPHandler