fixed incomplete refactoring of self.on_message_complete -> self.__on_message_complete; this fixes an error where parser does not report message complete when the socket has closed immediately (e.g. on ssl layer error)