compare speed of loop interface and unix socket
change code