Fix FDSET, add makefile and proxy server example