client: add Unix-socket handling to .connect() and .disconnect().