Improve BNetworkConnection class