adding spec for existing detect_os logic
adding port number as part of the key to cache os property when connecting to different hosts
Merge pull request #146 from smontanari/cache-os-based-on-host-and-port

Cache os based on host and port