Introduce a Policy interface between engine and connection.

This breaks the direct dependency from HttpEngine to
HttpURLConnectionImpl. With this dependency broken, we
can start to use HttpEngine directly from Dispatcher and
Job.
Merge pull request #241 from square/jwilson/introduce_policy

Introduce a Policy interface between engine and connection.