Merge r1587045, r1587543 from trunk:

Add apr_sockaddr_info_copy(), for making a deep copy of an
apr_sockaddr_t into a specified pool.

Submitted by: Yann Ylavic <ylavic.dev gmail.com>
Reviewed by: trawick


Add testcase for apr_sockaddr_info_copy()

Submitted by: Yann Ylavic <ylavic.dev gmail.com>
Reviewed by: trawick

Submitted by: trawick
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1590729 13f79535-47bb-0310-9956-ffa450edef68