Correctly parse unix sockets servers in the config

This code fixes #177. As far as I can tell, it doesn't break anything but my testing hasn't really been extensive, so other people should check and test too.