[WebServer] Check wether string is null before splitting it