Safe changing of host (formerly Endpoint)

![i have no idea what i am doing](http://i.imgur.com/xVyoSl.jpg)

But I think this would make the reading and writing of the host (formerly Endpoint) safe.