Towards automatic protocol field inference