Video 29 completed - Implementing the openConnection Function