add statusCode to the response object, fixes #12