add http tests, fix issue with [a,[b,c]] PUT requests (was not sending the host list after dissocing it)