PCS (Packet Construction Set) ported to Haskell