handle Puma::MiniSSL::Socket no method issue

handle Puma::MiniSSL::Socket no method issue