Added basic implementation for bind and create socket