httpize export methods of a given variable to handle HTTP requests.