added getter functions for sockets and timers
Merge remote-tracking branch 'origin/plugins' into plugins