add set callbacks / set cert check
Merge pull request #81 from jezell/remote-set-callbacks

add remote functions to set callbacks / set cert check