Fix TCPConnection test port number binding problem
Start of implementing time-out on receiving network data
implement actual reading with timeout
Added support for testing exception throwing
Added receive timeout test
Moved timing function to its own source files (where more time-related functionality can be added in the future)
bugfix: nanoseconds must be divided by a million to get milliseconds
Add test for the timeout duration