Added get_io_service and local_endpoint