Use latest react/socket for DuplexStreamInterface