Suppress Content-Type header on HTTP 204 (see #111)

This is a tidied up version of the patch in #111 with tests