# Functions
ComputePerfStats takes arrays of Latency & Throughput to compute Statistics.
GetFreePort asks the kernel for a free open port that is ready to use.
IsConnRefusedErr - Checks for "connection refused" errors.
IsConnResetErr - Checks for "connection reset" errors.
IsNetworkOrHostDown - if there was a network error or if the host is down.
ParseHost - parses string into Host.
ParseHTTPURL - parses a string into HTTP URL, string is expected to be of form http:// or https://.
ParsePort - parses string into Port.
ParseURL - parses string into URL.