This commit fixes #85: implements the optional checking of sequence numbers

We also have implemented the use of 48bits arithmetics for comparisson between sequence numbers

Signed-off-by: Ivo Calado <txithihausen@gmail.com>
Signed-off-by: João Correia <lucaskm98@gmail.com>