[TEST] add wrapper class for net/http to simplify testing