Fix Socket memory leak and Makefile dependencies

- Socket: Fix memory leak with sendfile function.

- Makefile: Include .Makefile.deps file when compiling