Solenoid-valve connectors