service/endpoint: keep support for the legacy bind and unbind

Just for the release. Related to #794 and #951.