Factor out transport

Refactor: moved out transport from proxy md service to simplify it,
and be able to  make UTs faster by customising it to NOT harrass 
registry root.

Also, metadata parser became a managed singleton now.