server: fix bad interpretation of local socket binding