Add dind/host socket support

Also add optional registry pushing support.
Merge pull request #1 from ncdc/socket

Add dind/host socket support