add support for testing HTTP(HEAD and OPTIONS)