ping endpoint requires HEAD request

closes #46.