Socket pointers in InThreadSendRecv and InitStream

Since we are using Socket pointers anyhow, it's easier,
faster and safer, to just use that socket instead
of referring through a stream number to a vector.