Resolved JERSEY-1705: Use Apache as a client transport.

Fixed a compile error in test.