Remove commented useless logging.
Remove some debug logging.
Improve socket wrapper.
Add handling of emails, within a dedicated lua lane.