More Endpoint.hpp fixes. Temporarily commenting out EndpointState and ConnectionState along with the include for boost externally_locked, as they are causing compilation issues