Update lsd.h with http.c shared functions