refactor session proxy code
allow capturing logcat for selendroid
Merge pull request #998 from jlipps/master

allow logcat capture for selendroid too