def tcp_received(data=None, data_length=None, id=None):
	"""
	Construct a template for TCP incoming data
	"""
	tpl = { 'tcp-event': 'received' }
	if data is not None:
		tpl['tcp-data'] = data	
	
	if data_length is not None:
		tpl['tcp-data-length'] = data_length
	
	if id is not None:
		tpl['client-id'] = str(id)	
	return tpl