Added necessary includes to the header
Removed unused global buffers
Update comments in the header
Added the exit_command_mode function
Added the get_ip function

This function enters command mode, sends the AT command to retrieve the
IP address, reads the IP address, then finally exits command mode
Fixed the issue with the default port name