do not decode body on err (fix #11)

Also, I've renamed some stuff to be more clear.