Extend netsniff.js example to support passing Headers, element timing an...

...d catch page errors