Developing Actor-Based Middleware as Collector System for Sensor Data in Internet of Things (IoT)