use header_msg.getheaders for GAE to get Set-Cookie header