Store a global reference to Socket library.