HTTP-friendly errors for connect