Remote Control Function

Use tcp-socket-server to build remote interface. User can enable it on preference.