bbs-plugin: fix roaring bitmap permission fetching
Created by: kzh
This PR fixes handling output from the plugin permissions endpoint by adding support to the BBS http client for binary responses (application/octet-stream
).
Testing: I tested this on a local instance by setting TTL and hardTTL to 1m. This PR also adds a unit test.