Cleaner select (with less branches)
Moved all select statements to a single function
Added max() macro to Socket
DestroyPath uses mass vector operations

It uses the number of streams and the first stream number and deletes all
streams in that range. This assumes that all streams in a path are
contiguous, i.e., 1,2,3,4 or 3,4,5, and not 1,3,4 or 1,2,3,8.
Cast local variables const
Merge pull request #9 from blootsvoets/massdestroypath

DestroyPath without segmentation fault
Merge pull request #7 from blootsvoets/cleanselect

Moved select into a single function and reduced branching in InThreadSendRecv