Update server.java

Updated HTTPSession and all methods it encompasses