fix checkstyle violations for codec-socks tests