This adds support for both IPv4 and IPv6 authorization. Signed-off-by: Eric Callahan <arksine.code@gmail.com>