Don't allow redirects to another host.
Add factory to support new specs.
Merge branch 'hotfix/0.14.0.2' into wdtk