Fixed examples to support updated improxy
changed basic_controls to use location.hostname instead of localhost.