Select masquerade by outgoing interface rather than by destination subnet

Docker-DCO-1.1-Signed-off-by: Jérôme Petazzoni <jerome@docker.com> (github: jpetazzo)
Merge pull request #6371 from jpetazzo/6370-masquerade

Select masquerade by outgoing interface rather than by destination subne...