Fix potential issue in socket cache with local services

Change-Id: I386eafc477f2f184841ae625ff0fe3d546695b07
Reviewed-on: http://gerrit.aldebaran.lan/49097
Tested-by: gerrit
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Approved: tfontenay <tfontenay@aldebaran-robotics.com>
Reviewed-by: tfontenay <tfontenay@aldebaran-robotics.com>
Tested-by: tfontenay <tfontenay@aldebaran-robotics.com>
Add context into translator API

Change-Id: Ia1d174f816b506fb24052aaf63ae29a0c0b9d211
Reviewed-on: http://gerrit.aldebaran.lan/48002
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Reviewed-by: hcuche <hcuche@aldebaran-robotics.com>
Tested-by: hcuche <hcuche@aldebaran-robotics.com>