core: safety check for server_header lenght

- don't add the header in local generated replies if the value is empty