old_contents: from socketio_client.manager import Manager
  
  import gevent
  from gevent import monkey
  monkey.patch_socket()
  
  import logging
  logging.basicConfig(level=logging.DEBUG)
  
  io = Manager('localhost', 8000, auto_connect=False)
  chat = io.socket('/chat')
  
  @chat.on('welcome')
  def on_hello(*args, **kwargs):
      print args
      kwargs['callback']("thanks!")
  
  @chat.on_connect()
  def on_connect():
      chat.emit("hello", "blablabla")
  
  chat.connect()
  gevent.wait()
  
new_contents: from socketio_client.manager import Manager
  
  import gevent
  from gevent import monkey
  monkey.patch_socket()
  
  import logging
  logging.basicConfig(level=logging.DEBUG)
  
  io = Manager('http', 'localhost', 8000, auto_connect=False)
  chat = io.socket('/chat')
  
  @chat.on('welcome')
  def on_hello(*args, **kwargs):
      print args
      kwargs['callback']("thanks!")
  
  @chat.on_connect()
  def on_connect():
      chat.emit("hello", "blablabla")
  
  chat.connect()
  gevent.wait()
  
subject: Update example according to modified Manager constructor.