implements TCPProxy for LDAP