Check stream_set_read_buffer exists before calling

It's available PHP 5 >= 5.3.3