added tests for staticqueue clear
Repaired a large number of tests case following the layer interface changes
compile fix for manual demo
moved TLS_Base into TransportState h/cpp