Add protocol version to the connected URL

Also add support to connect to Erlang and Elixir strings