Update Sms.java

If the sms dates are null (i.e. date_sent is null if the message has not been sent) a NullPointerException occurs.  Made a Date parse function to handle this.