Add two socket connections: public and private.