Allow to set protocol in example escript.