Header types (request/response) added as well as date info
More comments
stop cpu from hitting ceiling with empty while loop