pkstream/pkstream.c: Introduce helper functions to fiddle with addresses.