Added functionality for sending and receiving objects using HTTP requests