Updated xep-0066 oob.py for multiple bug fixes