Added a dedicated http class for doing the send/recv