TCP date

it checks type flag now
Merge branch 'master' of https://github.com/ReneNijhuis/IntegrationProject