Only set local_port and local_address for tcp

This seems to fix #181 for me while using a unix socket as the Docker.url.