Add StatusCode return path.

Sometimes, multiple OK codes are specified, each with a unique take on
the results returned (e.g., 200 for authoritative answers, 203 for
non-authoritative answers).  Applications which are interested in
knowing about these different responses currently have no way of
discovering these status codes.  This patch fixes that problem.