Bugfixes for stable release
Bugfixes
1. Handles properly the closing of connections by the MTA
2. Fix an error raised by an undeclared variable
3. Clears read sockets after processing, otherwise the reuse of the
sockets makes the accounting totally wrong (Closes: #13)