add error details to http messages in development, fixes #23