rename socket to simple_socket