Making socket stuff better