Add. Implement rest methods for stream handle.
Add. Implement rest methods for tcp handle.