Everything I always wanted to know about browser cookies but was too lazy to try