Remove slash at the end of the host
Break if no valid JSON is returned by the chat
Add more convenience methods for permission checking