NETWORK_MODE switch added.

Additional parameter was introduced to allow quick switch between two possible networking modes.

Change-Id: I9ef2b8b3feed6e647bd384727dc0f1a16b2000e4