Implementing choosing of network interface.

- Use -i command line option to specify network interface to be used.