Network Interfaces: Added attach/detach support.

This fixes #206.