LD_PRELOAD: stateless LDP

- Refactor LDP to be stateless.
- Use upper bit of fd to identify
  tag as VCL session.
- Clean up debug output.
- Add VCOM config env vars for
  app name and sid bit.
- Add VCL get/set attributes
- Add VCL poll implementation.

Change-Id: I4603ae88254c460a024fdb79fe91c6d1ef9bc7b9
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/src/vcl.am b/src/vcl.am
index 763efc2..642cb35 100644
--- a/src/vcl.am
+++ b/src/vcl.am
@@ -33,7 +33,6 @@
 libvcl_ldpreload_la_SOURCES +=			\
   vcl/vcom_socket_wrapper.c			\
   vcl/vcom.c					\
-  vcl/vcom_socket.c				\
   $(libvppcom_la_SOURCES)			\
   $(libvppinfra_la_SOURCES)			\
   $(libvlib_la_SOURCES)				\
@@ -43,8 +42,7 @@
 nobase_include_HEADERS +=			\
   vcl/vcom_socket_wrapper.h			\
   vcl/vcom_glibc_socket.h			\
-  vcl/vcom.h					\
-  vcl/vcom_socket.h
+  vcl/vcom.h
 
 noinst_PROGRAMS +=				\
 	vcl_test_server				\