Adding support for internal ip/port usage.

This patch adds support for using -internal to register docker0
internal ip and port settings, instead of using the docker host
mapped ones.
parens unnecessary