Bug 814579 - Part 1/3: use nsRefPtr instead
Bug 814579 - Part 2/3: allow multiple RilClient instances
Bug 814579 - Part 3/3: connect client socket by id
debug