Escape HTML characters and detect errors on curl requests