Fix some bugs in the homeproxy role