add production and development env for socket
use redis to store socket connections