binary queue: simple C API to queue binary messages