move includes around
add sockio.h include for solaris