Make http adapter optional (2.1 BC)

This PR disables the distance_matrix and direction sections by default, so there is no default dependency on http adapter.
Default section settings can be enabled by configuring the directions or distance_matrix parameters.