Fix parsing of the MASK bit
Remove Senders to simplify server architecture

Requests are now handled in the reader thread, making the senders
and tasks unnecessary.
Reorganize server start/stop functions

Expose the start/stop/init functions only. Separate initialization
from server start.
Add missing static keywords
Fix linking errors