upgraded http lib