This is not part of the project requirements
bug fix to socket function
- added silent_mode for benchmarking - fixed compiler errors - moved variables to globals.h