Write hitpoints even for indestructible objects

It should make parsing game output easier for bots due to a solid format.
Add a simple http session example (by Kostya)