added suport to specify a socket address used to "bind" to the remote system.
check doneDate for null in DeliveryReceipt (toShortMessage).