Added support for HEAD requests

GET/HEAD requests should return the same response code