http: change internal protocol
example: improve example for REST