Read header head
Add stream read head function
Add stream_server read head function
TEMP
Merge branch 'rest_server'