using socketio rather raw http request