exec: properly handle exec replies

when using exec on replies, populate the reply code and reason instead of
R-URI variables