modify check_listening_port to support Solaris

I've modified check_listening_port in lib/serverspec/commands/solaris.rb to support Solaris.