minor socket changes