Added conversion of network protocl to bot protocol