Use http to connect to the directory server