Fixed all memory leaks in webserver.c that i could and saw