Handle 541 responses

Fixes #125