Fix (de)serialize functions + add RequestMessage constructor for bytes
Refactoring: desezialize functions use pointer to unsigned ints