add HEAD method.
fix empty queue name, wrong arguments count and unknown verb.