you are using Peerhost and Peerport, which are not %options members, it should have been PeerHost and PeerAddr respectively, since the previous two are just some of the methods that IO::Socket::INET provides..
Comment on Re: IO::Socket::INET->new(): short form v. long form