Add support for empty files, returns status code 204 by default

Fixes issue #35.