Fix duplicate header bug
Use a better string escaping mechanism
Compare contexts