Added the ability to send byte[] in addition to files