reworking Endpoint.hpp... only boost-related errors remain