Supporting a transport attribute on API configuration. Patch applied from SYNAPSE-953 with some changes