add support for OPTIONS request