Adding support for stopping non-allowed http methods