Forward web socket

Forward WebSocket to parent frame in a pretty simple manner.
What about avoiding ```window.frames``` by passing in the frame directly (from ```iframe[0].contentWindow``` in get_page_iframe)?  Are we sure that window.frames[<string>] works everywhere?