Remove unused function onLines.
Add configuration module.
Add crypto module.
Split streaming from socket and line parsing.
Minor cleanup.
Overhaul config module.