Makefile: no need to run with sudo
http: fix possible zero memory allocation
server: avoid use after free of the connection object