access: merge stream_access.c and access.c