fix deprecations and changes

still broken, though
starting on ThrottledStream
kinda sorta working