Bug 965273 - CSP: Fix serialization and deserialization and add support for the {} characters on the host name. r=sstamm