Added network components

Fixed bug causing crash upon second connect attempt