Add Gateway and HostPort to meta-data

Useful when running docker-gen within a container to generate
reverse proxy configs.
Fix -endpoint being ignored

Fixes #1