made serializing case-less and added parsing for Secure and HttpOnly values