add http related prototype