Update push and pull to registry 2.1 specification

Minimal implementation for 2.1 specification.  Does not include fallback, using the v2 route package, or any sort of refactoring.

ping @stevvooe @jlhawn 
Should the error be checked here?