First pass at generic adapter
Missed the error handling code
Return only content-type, not full headers
Implement generic worker flow
Add test for generic adapter