handler server connection