an example of using socketstream with passport