added a simple connection test, reports useful stats on reliability
improved unix build process - reduced time by about 15%
fixed a potential memory leak
added a fflush() to log calls, just to make sure that the ordering is correct
improved performance when locating a frame ID
fixed a corner-case where timeouts occur prematurely if the packet transmission is delayed
Merge remote-tracking branch 'remotes/origin/master' into win32