Renamed arguments of iterator macros.
Implemented server callbacks API.
Implemented server callbacks in echo server.