Add nock options support, tests