Working on heartbeat branch
Merge branch 'master' into heartbeat. Retrieving the ServerConnection copy constructor code.
Since we are passing an iterator pointing to a pair we need to derefence it and then call second to get at the ServerConnection.
Added in a mutex in the read method. Additionally fixed the constructors so that they now work with the data types declared in the header file.