code: static public Message createBinarySMS(String originator, String header, String body, String recipients) {
          Message msg = new Message(originator, body, recipients);
          final Map<String, Object> binarySMS = new LinkedHashMap<String, Object>(4);
          binarySMS.put("udh", header);
          msg.setTypeDetails(binarySMS);
          msg.setType(MsgType.binary);
          return msg;
      }
docs: Factory to create Binary SMS message
  
  @param originator
  @param header
  @param body
  @param recipients
  @return