fix socket crate