better socket io configuration - DO NOT USE config.debug, it makes conflicts with other internal functions