Support stream length as a client option.