adding SAN support  #61

As per yesterdays discussion #27 is being broken into to tasks
1. adding SAN
2. figuring out the ID ( if we want to bese64 encode it or not) 

this commit takes care of first part