add handler for gateway log out use case
add handler for gateway log in use case
do not expect to respond to presences with error
stub client.write
forward chat messages for registered JIDs
enable gateway