GDS-1123: NPE / Bad check in Apache transport.