Added support to return the HTTP response code after service invocations.