Add support for local socket connections thanks to rmk