Add Allow header or 405 error

Currently Allow header is not being set and this is required by the RFC.