extracted the send to make it more testable
extracted the send to make it more testable

ibm-bluemix-mobile-services/bms-clientsdk-swift-core,ibm-bluemix-mobile-services/bms-clientsdk-swift-core,ibm-bluemix-mobile-services/bms-clientsdk-swift-core