[fix] Set "content-length" header to "0" if it is not already set on DELETE requests. Fixes #338.
[minor] Move private helper to end of file.