High Court judge warns over potential dangers of online drinking contests