request handling and LDAP

updating request functionality to use cURL or HTTP and adding LDAP
connection and querying