Attempt at dealing with both old and new network magic bytes