Fix #24: Add support for HEAD and OPTIONS request methods