add http library prototype