fixed makefile, added content-length header