capturing socket (working with jdk7)
spring security poc