don't try to send headers again if we already sent it

for example if an error occurs in multipart complete
we can only send an error xml in the body because the header
was already sent.
Also send xml header only once.
reply with entity too large on quota exceeded (bb #904)
fix etag in list parts