Curl adapter now clears headers upon new execution

Fix to issue #20