Handle, log and count exceptions parsing multipart headers