In Resources tab, we need to correctly handle the case where the WebSocket originats in an iframe or a Worker, instead of wrongly assigning it to the main document. <rdar://problem/30454361>