Sleep and Its Derangements by Hammond, William A.
 is a Project Gutenberg book, now on Github.