Support solaris host OS

Here is an experimental support code for solaris host os.
It's necessary that  solaris users test it and feedback for better code.

I'm not user so the implementation is based on documentation.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>