Return decoding error to client if we fail to decode headers