Fix x2vnc to build on SunOS and add LICENSE information

Build failed because of missing `LDFLAGS -lsocket`. I've also added the LICENSE information.