Add ability to disable endpoint configuration

It is possible to disable endpoint configuration by setting the value
of the configure_endpoint parameter to false.

The default value is true, preserving default behavior.

Change-Id: Ib8b5ac67a1004807faf8dd82becad4522339bddf
Closes-bug: #1278554
Merge "Add ability to disable endpoint configuration"