added ws factory to client