Adding support for http PUT requests