[S390]: Rewrite of the IUCV base code, part 1