remove composer self-update from .travis.yml
move protocol stubs callbacks to methods for 5.3 compatible