Added a client2 sample
Added missing inline specifiers