Improve error translation for cowboy adapater