switched to stream processing because chunks don't always come in on line boundaries
url / syntax tweaks