replace binaries with iolist for sending requests