Added missing @Nullable annotation to DeviceConfig.nodePort
Modified device handling logic on gateway to be compatible with SmartSantander requirements for base stations that don't necessarily have a node URN