Multi-links support for get_links method

This commit fixes #2322
Proxy support

This commit closes #2323