Examples changes

Fixes for the data_mapper and web_sockets examples.