Handle non-existent UIDs

Test for a sender/user before dereferencing it to avoid null pointer
exceptions. When a message cannot be dropped, changer the sender to the
server.
Change license to ISC