adding an implementation of HEAD to the embedded HTTP server