support a listening inet socket, rather than a unix domain socket for non-unix platforms

BEER-SOCKET also has removed the first slash, which may cause a conflict, but otherwise all the original code is in place as it was.