Fixed bogus triggering of PUBLISHing for non-INVITE sequential requests.
Credits go to Damien Sandras
Closes pull request #149

(cherry picked from commit e0cc9d009151a086f42c08d7f8092b8c7d5835ed)