Proxy: prepare handler

Signed-off-by: Eduardo Silva <eduardo@monkey.io>