deprecated settingPort and settingsOnException

hello,

I added setOnException and SetPort to silence some warnings when building hoogle.