modify memtester code to fit socket connect when application can't get root permission when do memory test.