add inet4 deserialize

add inet4 deserialize, inet4 serialize not implemented but current functions correctly