Send HTTP errors as raw strings instead of HTML documents

This will help clients to track errors. Currently mapentity logs the firsts 150 chars so we lose the interesting part ot the message.