Added TCP and UDP Protocols and added a Protocol factory option to
overwrite calculated data size with previous information