title: MoonAPNS The operation is not allowed on non-connected sockets
body: <p>I am using Moonapns asp.net library to send push notifications to apple device.</p>
  
  <p>it works fine on my local machine which is 64bit OS but when i am trying to deploy it to client's server with 64bit OS it gives following error , any one guide me what could be the problem?</p>
  
  <p><strong>Event log:</strong></p>
  
  <pre><code>System.InvalidOperationException: The operation is not allowed on non-connected sockets.
     at System.Net.Sockets.TcpClient.GetStream()
     at MoonAPNS.PushNotification.OpenSslStream(String host, X509CertificateCollection certificates)
     at MoonAPNS.PushNotification.Connect(String host, Int32 port, X509CertificateCollection certificates)
     at MoonAPNS.PushNotification.SendQueueToapple(IEnumerable`1 queue)
     at MoonAPNS.PushNotification.SendToApple(List`1 queue)
     at NeoFaceWatchMobileClient.watchservice.Timer_Elapsed(Object sender, EventArgs e)
  </code></pre>
  
  <p>any help would be appreciated.</p>