Added methods to send binary data and string.