added lsocket.onconnecttryip handler for apps that want to use this information