fixes to zend_ini and output
fixes to xp_socket.c
fixes to plain stream wrapper
fixes to SAPI.c
more fixes to streams
fixes to zend
Merge branch 'string_size_refactor_take_2' into str_size_and_int64

* string_size_refactor_take_2:
  fixes to zend
  more fixes to streams
  fixes to SAPI.c
  fixes to plain stream wrapper
  fixes to xp_socket.c
  fixes to zend_ini and output
the very first porting try, many things not worky