Handle proxy extensions with empty data. Add support for different types of extensions to encode alternate subject name into GENERAL NAME internally.