Add new portable HTTP library and remove stub interfaces