Set-up worker and static config in __init__ since that makes it harder to made bad assumptions about what attributes are available during teardown.
Return consumer from _set_prefetch_count so that _setup_consumer returns the consumer again. Add helper method for setting default endpoint handlers. Add TODO for the case where there is no default endpoint handler.
Tests for the base connector class.