Adding constructor that used default endpoint with port 4444.