TRQ-1679 Don't call getpeername
AT the time getpeername is called, the socket may be closed so cached the socket address and port on accept and pass them to the im_request function.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev
Fixed unit test.