Copying stdin to stdout in Java | Hacker News Reader