Include network prefix when ipv4/ipv6 keys are queried

In reference to the issue #331 here is a small modification to add network prefix to both, ipv4 and ipv6 keys. It's been tested against ruby-lxc and seems to work as expected.

Please, let me know if there's anything else that should be done or if there's a better way for doing it.