Connect to iframes, web workers, local objects, or a web server using the same deferred syntax