Wrap a timeout-retry around TCP open calls

Handles case of receiver being overwhelmed & slow to respond.
Also increase send/recv buffer size to match the NIO ByteBuffer size.