Add newSession method to create session without connecting

JAVA-208 #fixes