The co-writer of Grateful Dead hits fought for the internet's highest ideals and co-founded the Electronic Frontier Foundation. He was also an unforgettable friend.