Authorize timeout option
Fix a bug with buckets stream and add tests
Merge pull request #232 from mostlyserious/timeout

Fix a bug with buckets stream