Add server output handler