add bulk method that accepts data as byte array

it would be great to have a bulk method that accepts data as byte array, this is necessary because data can be large and i want to send it gzip compressed (ES: http.compression: true)