added managed listener and managed transport
uncomment add headers code