Remove unused socket stuff