Reenable use of generics enabled socket stuff.