Add support for mode of backend members to be switched between TCP and HTTP.

Add support for mode of backend members to be switched between TCP and HTTP.