Add getters and setters for ServerConfig, make AcceptFunc a newtype.