free gear programs to prevent potential memory leak
update a3d, loax, net

a3d:
a3d_mat4f_perspective
a3d_mat4f_lookat

loax:
reconnect to server

net:
fix SIGPIPE
reconnect to server if disconnected