TRQ-2173. Make add_connection() do parameter checking to see if the socket is a valid socket index.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev