Fix two bugs in SCEP parsing (strip of bitstring and realm in trustrules)