fixed 'multiple interface bug' (#68)

This should fix the bug referred to as "multiple interface bug" in #68.

* For mapping IP addresses to interfaces now the bind_address from the flow settings is used instead of getting it from the socket. Therefore we can correctly determine the interface even if the socket is not yet connected.
* The sockets are now bound to the interface to ensure packet capturing works correctly.