Add mode to backend with default as tcp
Merge pull request #1 from eslng/backend-mode

Add mode to backend with default as tcp