We can simply use the current linux implementation, and enable/disable the resource overlay from the web view using a keybinding.
Created attachment 312178 [details] Patch
Committed r217925: <http://trac.webkit.org/changeset/217925>