Fix mac-command range, encryption and clear in-process queue.
Fix mac-command range, encryption and clear in-process queue.

ymkins/brocaar-loraserver,ymkins/brocaar-loraserver,brocaar/loraserver,brocaar/loraserver