Fixed connection subprocess
Fixed adding URL to stream
Renamed connection test to ping/pong
Better local var names
More logging messages