Returns the HTTP status if it is set.
RequestStateElement element; int code =element.getHttpStatusCode();
If the HTTP status is not set, the default value is -1.