Adding socket connection manager