Console add command-lua

add socketSend function in console.
add binding mathod addCommand and socketSend for lua.