Fixing docker name matching when using links on the host.
Fixing waiting and forbidden handling.