Add optional args to constructor to allow setting buffer sizes and timeouts for `StreamOut` and `StreamIn` objects.