fix socket warnings
upgrade project