Perform the writing in another thread to avoid packet losses as much as possible
Do not block/bind port 68, as the answers are taken care of the packet capture part anyway
Code cleanup, small refactoring