use bind instead of connect for PUB socket
Fix endpoint

It expects an interface anyway, not a hostname