add switch for product sever
remove socketio support for now