Fix Expected protocol number, got an empty string instead #1698