Add docs to the setup sockets method