Allowed passing request options into getBuffer

@pon @leore @bsiddiqui