Provide onRobot detection
Use onRobot detection. Refactor to allow the use of symbolic names in socket selection (less efficient, but way easier to read).