Http methods filter

Alternateive to #164

Handle OPTIONS and HEAD requests automatically.