added support for local iframe transport