Fix replacement of docker host URLs starting with "tcp". Fixes #28