Set HTTP 500 initially, only 200 on success
Strip empty lines from the message