added implementation of Proxy Handler API according to draft spec