Update for internal RabbitMQ API changes.
Avoid binary:split, for the sake of Erlangs older than R14.