Switch to RequestParameters.contains(String) because RequestParameters.getSingleValue(String) returns "" if null is returned by internal list data structure.
Merge pull request #29 from EHJ-52n/fix/NPE-because-of-empty-string-in-extension

Fix NPE when request without extension in send to SOS 2.0 instance