Method for override to customize PreConnectHandler.