PLINK-202 removed DefaultSecurityContextFactory, fixed compiler and checkstyle errors