MOB-116 - Only calculate header size if we have a header.
MOB-116 - Only calculate header size if we have a header.

bwestlin/hermes,bwestlin/hermes,carllarsson/hermes,bwestlin/hermes,carllarsson/hermes,carllarsson/hermes