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tH7B9foF9ZNQMYUOHWyiuAyoVqs/xNExioIVR8z8\nMVLUJ6Jym83qL1KLGZugi51JFc4cD4UKHQytb4nGMO0EYercBk/TLn5/kRNC+0JY\nFHXGG/d8cYguyGIxAgMBAAGjGzAZMBcGA1UdEQQQMA6CDCoubG9jYWwuaG9zdDAL\nBgkqhkiG9w0BAQ0DggEBAHX840Wl7APZi20i+H+eSL70/tGfld487CBnxfzvECWh\nC+mOfMH9LHSkRhkk+kyosClKO07moUev39EppR7rXhh/fDJLUAbH8Hpb8gJBu0R6\nceQQmqoHCFApqdDF0quvKq5RVatQHfTTuSNd2y/kPD6otnEfxk91rg10dpwd0jii\nv7JBV8cC+z6bDBKn46P8Hpy0k2AY8LgIpUdnmLecxcPAGh0TpGe/2FuYtvPey7vR\nKl4sqjtreZ5kbrqoKRGTU/X2bXHjhF22ZmWO/O0lv1rLrnXCnxQrSTwvXHfNsxkZ\nVqvOQufB7zDfcVrXAeQr7RpyP9qSF9aQwDQj8uio/dI=\n-----END CERTIFICATE-----"
};

const server = spdy.createServer(options, (req, res) => {
  res.end('hello');
}).listen(443, () => {
  console.log('Listening', server.address());
});
