Add error loggin on http parse failures