Makes session ids more readable and adds protection against bad sessionids