Add direct pen state and setup command setting to exported module API
Fix the horrible net.js server issues! Properly handles eaddrinuse
Not to mention server shutdown on sigterm/general error (via listen callback).