fixing cookies for socket io