           rec_status = {
             number: line_parts[1]
             status: line_parts[2]
-            code: line_parts[3]
+            code: parseInt line_parts[3]
             msg: line_parts[4]
           }
-          result.statuses.push rec_status
-    
+          result.statuses.push rec_status      
     result
   
   _getServiceHost: () ->
-    url = "http://"
-    if @options.secure
-      url = "https://"
+    #url = "http://"
+    url = ""
+    # if @options.secure
+    #   url = "https://"
     url += @options.host
+    
     url
   
   _getServicePath: (msg) ->

            sendResponse null, result
          else            
            sendResponse result
      req.write @_generatePostData(msg)
      req.end()
    catch err

  
  _parseResultString: (msg, body, result) ->
    body = decodeURIComponent body
    lines = body.split("\r\n")
    
    result.msg = body
    result.statuses = []
    _.each lines, (line) ->
      return unless line or line.length
      line_parts = line.match /^(\+[0-9]+) (\w+) (\d+) (.+)$/
      
      _.each msg.recipients, (recipient) ->
