commsec: make return vals consistent with unsigned type.
commsec: small ivory test and hacked together cabal file.