Added ip address caching too
Merge pull request #821 from psav/net_port_cacher

Added ip address caching too