merged ServerLayer and LoggingServerLayer