Merge pull request #593 from PrFalken/patch-1

add Leonardo to tools.rst
Open a socket and compare source IP with destination in is_local_interface
This change fixes an issue where if /proc/sys/net/ipv4/ip_nonlocal_bind  is set to 1, remote
addresses where detected as local.
fixed whitespaces