Finished RETR command. Some bugfix