Added support for per client redirects and per request redirects. Minor code cleanup when processing headers.

Added java.net maven repo for fetching javax.annotation api 1.2 promoted build. This is a temporary solution until 1.2 GA is available in maven central.