Fixed errors, made a semi-sane implementation of ccn header parser.